package com.example.service.shipingImpl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.domain.shiping;
import com.example.mapper.shiping.shipingQuery;
import com.example.service.shiping.shipingService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class shipingServiceImpl extends ServiceImpl<shipingQuery, shiping>implements shipingService {
    @Resource
    private shipingQuery shipingQuery;

    @Override
    public List<shiping> getAll(int type) {
        return shipingQuery.selectAll(type);
    }

    @Override
    public List<shiping> findAll() {
        return shipingQuery.findAll();
    }
}
